﻿<?xml version="1.0" encoding="utf-8"?>
<xsl:transform xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
  http://140.175.165.56:8080/DisAccount/XMLFile.xml
  <xsl:template match="results">
    <html>
      <head>
        <title>
          Results of Group <xsl:value-of select="@group"/>
        </title>
      </head>
      <body>
        <h1>
          Results of Group <xsl:value-of select="@group"/>
        </h1>
        <xsl:apply-templates/>
      </body>
    </html>
  </xsl:template>
  <xsl:template match="match">
    <h2>
      <xsl:value-of select="team[1]"/> versus <xsl:value-of select="team[2]"/>
    </h2>
    <p>
      Played on <xsl:value-of select="date"/>
    </p>
    <p>
      Result:
      <xsl:value-of select="team[1] "/>
      <xsl:value-of select="team[1]/@score"/>,
      <xsl:value-of select="team[2] "/>
      <xsl:value-of select="team[2]/@score"/>
    </p>
  </xsl:template>
</xsl:transform>
